
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 Versionmanage 分页列表
*/
export function getVersionmanagePagination(data: any) {
  return axios.get(`${context}/versionmanage/pagination`, { params: data });
}


/**
 * 获取 Versionmanage 所有数据
*/
export function getVersionmanageAllList(data: any) {
  return axios.get(`${context}/versionmanage/all`, { params: data });
}


/**
 * 获取 Versionmanage 详情
*/
export function getVersionmanageDetailById(id: any) {
  return axios.get(`${context}/versionmanage/${id}`, { params:{id} });
}


/**
 * 新增 Versionmanage
*/
export function addVersionmanage(data: any) {
  return axios.post(`${context}/versionmanage`, data);
}

/**
 * 修改 Versionmanage
*/
export function updateVersionmanage(data: any) {
  return axios.put(`${context}/versionmanage`, data);
}

/**
 * 删除 Versionmanage
*/
export function batchRemoveVersionmanage(data: any) {
  return axios.post(`${context}/versionmanage/batchRemove`, data);
}

    